package org.budo.accesslog.entity;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author limingwei
 */
public interface AccesslogEntity extends Serializable {
    void setRequestBody(String requestBody);

    void setRequestUri(String requestUri);

    void setCreatedAt(Timestamp createdAt);

    void setRemoteAddr(String remoteAddr);

    void setType(String type);

    void setServerName(String serverName);

    void setUserAgent(String userAgent);

    void setHandler(String handler);

    void setRemoteUser(String remoteUser);

    void setTimeCost(Integer timeCost);

    void setError(String error);

    void setResponseBody(String responseBody);

    String getRequestUri();

    String getType();

    Integer getTimeCost();

    String getRemoteAddr();

    String getHandler();

    String getError();

    String getRemoteUser();

    String getUserAgent();

    Timestamp getCreatedAt();

    String getRequestBody();

    String getResponseBody();

    String getServerName();
}